package com.authority.vo;

import java.util.List;

import com.authority.result.UserPrivilegeDTO;
import com.google.common.collect.Lists;

public class LoginVO {

	private Long id;
	private String account;
	private String userName;
	private Integer type;
	private String workNumber;
	private Long organId; 
	
	private List<UserPrivilegeDTO> privileges = Lists.newArrayList();


	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public List<UserPrivilegeDTO> getPrivileges() {
		return privileges;
	}

	public void setPrivileges(List<UserPrivilegeDTO> privileges) {
		this.privileges = privileges;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getWorkNumber() {
		return workNumber;
	}

	public void setWorkNumber(String workNumber) {
		this.workNumber = workNumber;
	}

	public Long getOrganId() {
		return organId;
	}

	public void setOrganId(Long organId) {
		this.organId = organId;
	}
	
}
